package com.songtech.store.bean;

import javax.persistence.Column;
import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @Author: yangzhicheng
 * @Date: 2018/6/20 14:02
 */
public class StoreVo {

    /**
     * 主键
     */
    @Id
    private String id;

    /**
     * 设备标识码
     */
    private String imei;

    /**
     * 厂商编号（t_pro_dic表id）
     */
    @Column(name = "company_code")
    private String companyCode;

    /**
     * 产品名称编号（t_pro_dic表id）
     */
    @Column(name = "product_code")
    private String productCode;

    /**
     * 产品型号（t_pro_dic表id）
     */
    @Column(name = "model_number")
    private String modelNumber;


    /**
     * 出库时间
     */
    @Column(name = "out_time")
    private Date outTime;

    /**
     * 出库起始时间
     */
    private Date outStartTime;

    /**
     * 出库截止时间
     */
    private Date outEndTime;

    //地区名称
    private String prvName;

    //设备总量或在线数量
    private Long count;


    /**
     * 销售地区编号
     */
    @Column(name = "sale_region")
    private String saleRegion;

    /**
     * 销售地区名称
     */
    @Column(name = "sale_region_name")
    private String saleRegionName;

    /**
     * 仓库所在地编号
     */
    @Column(name = "store_region")
    private String storeRegion;

    /**
     * 仓库所在地名称
     */
    @Column(name = "store_region_name")
    private String storeRegionName;

    /**
     * 启停状态，0表示停用，1表示启用,默认0
     */
    @Column(name = "Is_run")
    private String isRun;

    /**
     * 出入库状态，0表示入库，1表示出库,默认为0
     */
    private String status;

    /**
     * 设备运行状态
     */
    private String runningStatus;

    /**
     * 在线时长
     */
    private String onlineTime;

    /**
     * 最近上线时间
     */
    private Date latelyLoginTime;

    public String getPrvName() {
        return prvName;
    }

    public void setPrvName(String prvName) {
        this.prvName = prvName;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public Date getOutStartTime() {
        return outStartTime;
    }

    public void setOutStartTime(Date outStartTime) {
        this.outStartTime = outStartTime;
    }

    public Date getOutEndTime() {
        return outEndTime;
    }

    public void setOutEndTime(Date outEndTime) {
        this.outEndTime = outEndTime;
    }

    public String getSaleRegionName() {
        return saleRegionName;
    }

    public void setSaleRegionName(String saleRegionName) {
        this.saleRegionName = saleRegionName;
    }

    public String getStoreRegionName() {
        return storeRegionName;
    }

    public void setStoreRegionName(String storeRegionName) {
        this.storeRegionName = storeRegionName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getModelNumber() {
        return modelNumber;
    }

    public void setModelNumber(String modelNumber) {
        this.modelNumber = modelNumber;
    }

    public Date getOutTime() {
        return outTime;
    }

    public void setOutTime(Date outTime) {
        this.outTime = outTime;
    }

    public String getSaleRegion() {
        return saleRegion;
    }

    public void setSaleRegion(String saleRegion) {
        this.saleRegion = saleRegion;
    }

    public String getStoreRegion() {
        return storeRegion;
    }

    public void setStoreRegion(String storeRegion) {
        this.storeRegion = storeRegion;
    }

    public String getIsRun() {
        return isRun;
    }

    public void setIsRun(String isRun) {
        this.isRun = isRun;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRunningStatus() {
        return runningStatus;
    }

    public void setRunningStatus(String runningStatus) {
        this.runningStatus = runningStatus;
    }

    public String getOnlineTime() {
        return onlineTime;
    }

    public void setOnlineTime(String onlineTime) {
        this.onlineTime = onlineTime;
    }

    public Date getLatelyLoginTime() {
        return latelyLoginTime;
    }

    public void setLatelyLoginTime(Date latelyLoginTime) {
        this.latelyLoginTime = latelyLoginTime;
    }
}
